package com.eduhzy.ttw.teacher.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.eduhzy.ttw.teacher.di.module.ClassDetailsModule;
import com.eduhzy.ttw.teacher.mvp.contract.ClassDetailsContract;
import com.jess.arms.di.scope.ActivityScope;
import com.eduhzy.ttw.teacher.mvp.ui.activity.ClassDetailsActivity;

@ActivityScope
@Component(modules = ClassDetailsModule.class, dependencies = AppComponent.class)
public interface ClassDetailsComponent {
    void inject(ClassDetailsActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        ClassDetailsComponent.Builder view(ClassDetailsContract.View view);

        ClassDetailsComponent.Builder appComponent(AppComponent appComponent);

        ClassDetailsComponent build();
    }


}